<template>
	<div>
		<template v-for="item in entryId">
			<mt-button class="margin20" @click.native="handleEntry(item)" type="primary">{{item.name}}</mt-button>
		</template>
		<!--<router-view></router-view>-->
	</div>
</template>

<script>
	export default{
		name:'index',
		data(){
			return{
				entryId:[{
					id:'1',
					name:'入口一'
				},{
					id:'2',
					name:'入口二'
				},
				{
					id:'3',
					name:'入口三'
				}]
			}
		},
		methods:{
			handleEntry(item){
				this.$router.push({path:'/autoshow/'+item.id})
			}
		}
	}
</script>

<style>
</style>